#pragma once

#include "../../helper/list.h"

namespace openocd
{

class adapter
{
public:
    virtual bool open(const char *dev, long params = 0) = 0;
    virtual void close() = 0;
    virtual int execute_queue(struct list_head *chead) = 0;
};

}
